﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ServiceModel;
using ajayumi.develop.win32.Transport.WCF.Services.DataContracts;

namespace ajayumi.develop.win32.Transport.WCF.Services.Interfaces
{
    /// <summary>
    /// ICommunication.cs 通信接口
    /// Author   : 黄乙冬
    /// Date     : 2012-02-10
    /// </summary>
    [ServiceContract()]
    public interface ICommunication
    {
        /// <summary>
        /// 是否连接
        /// </summary>
        [OperationContract(IsOneWay = true)]
        void IsConnected();

        ///// <summary>
        ///// 客户端进入
        ///// </summary>
        //[OperationContract()]
        //void ClientEnter(CPointInfo cp);

        ///// <summary>
        ///// 客户端离开
        ///// </summary>
        //[OperationContract()]
        //void ClientLeave(CPointInfo cp);

        ///// <summary>
        ///// 服务端退出
        ///// </summary>
        //[OperationContract()]
        //void ServerExit();
    }
}
